package com.qf.crud.entity.vo;
import com.qf.crud.entity.Classroom;
import com.qf.crud.entity.Student;
import lombok.*;
import javax.security.auth.Subject;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@AllArgsConstructor // 有参构造
@NoArgsConstructor // 无参构造
public class StudentVO extends Student {
    private Classroom classroom;
    // 封装多个学科信息
    private List<Subject> subjectList;
}